import 'dart:convert';

import 'package:hotpot/generated/json/base/json_field.dart';
import 'package:hotpot/generated/json/res_country_state.g.dart';

@JsonSerializable()
class ResCountryState {

	int? id;
  @JSONField(name: "country_id")
  List<String>? countryId;
  String? name;
  @JSONField(name: "display_name")
  String? displayName;
  
  ResCountryState();

  factory ResCountryState.fromJson(Map<String, dynamic> json) => $ResCountryStateFromJson(json);

  Map<String, dynamic> toJson() => $ResCountryStateToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}